//
//  EntinrtyTest.swift
//  CMCCIOTSwift
//
//  Created by isoftstone on 2017/4/21.
//  Copyright © 2017年 isoftstone. All rights reserved.
//

import UIKit
import HandyJSON
class EntinrtyTest: RequestModel{
    
    var name : String?
    var foo: [String]?
    override public var path: String {
        return "/users"
        
    }
//    override public var baseURL: NSURL{
//        return NSURL(string:"https://rxswift.leanapp.cn")!
//    }
//    /// <#Description#>
//   
//    override public var parameters: [String : AnyObject]?{
//        let params = self.toJSON() as [String : AnyObject]?
//        if params?.count == 0 {
//            return nil;
//        }
//        
//        return self.toJSON() as [String : AnyObject]?
//    }
//    
////    override public var headers: [String : String]?{
////        let headers = [
////            "Authorization": "Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==",
////            "Accept": "application/json"
////        ]
////        return headers
////    }
//    override public var encoding: EncodingType{
//        return  URLEncoding.default;
//    }
    
    
    
    var bar : Entinrty?
    
   
}
class Entinrty: HandyJSON {
    var baz : String?
    required init() {
        
    }
}
